<div class="mainBody-box-bg1" style="border-bottom:1px solid #CCCCCC;">
<div>
	<form method="get" id="formSearch" name="formSearch" action="">
		<div class="left">
		<input type="hidden" value="{$shop_id}" name="shopID" />
			日期：<input type="text" id="txt_s_time" value="{$s_time}" name="txt_s_time" readonly="readonly" onClick="WdatePicker()" />到
			<input type="text" id="txt_e_time" value="{$e_time}" name="txt_e_time"  readonly="readonly" onClick="WdatePicker()" />
			卡号：<input type="text" class="input_small" onkeydown="searchShopDetail(event);" value="{$owner_card}" name="txt_card_value" id="txt_card_value" />
        </div>
		<div class="left" style="padding-top:3px;">
			<a id="searchButton" onclick="searchShopDetail();" class="buttonStyle"><span></span>搜 索</a>
		</div>
	</form>
	</div>
</div>
<div style="margin:10px;">
	<table>
		<tr>
			<td height="30px" width="150px;" align="right">累计扣减积分：</td><td align="left">{$reportData.cost_money}</td>
			<td width="150px;" align="right"></td><td align="left"></td>
		</tr>
		<tr>
			<td width="150px;" align="right">累计扣减积分撤销发生额：</td><td align="left">{$reportData.cost_money_cancel}</td>
			<td width="150px;" align="right">累计实际扣减积分：</td><td align="left">{$reportData.cost_money_sj}</td>
		</tr>
	</table>
</div>
<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='1' id='list-table' bgcolor="#cccccc" width="100%" class="table1">
  <tr>
  	<th height="40" align="left">
  		交易流水号</th>        
    <th>交易时间</th>
    <th width="80px">卡号</th>
    <th width="80px">业主真实姓名</th>
    <th width="90px">扣减前剩余积分</th>
    <th width="80px">本次扣减积分</th>
    <th width="90px">本次折扣额</th>
     <th width="100px">本次实际扣减积分</th>
    <th width="90px">扣减后剩余积分</th>
  </tr>
  {foreach from=$list item=list}
  <tr>
  	<td align="left" height="40px">{$list.pay_id}{if $list.is_cancel eq 1}<br />(已撤销){/if}</td>
    <td align="center">{$list.cost_time}</td>
    <td>{$list.owner_card}</td>
    <td>{$list.owner_name}</td>
    <td>{$list.cost_shop_before_money}</td>
    <td>{$list.cost_money}</td>
    <td>{if $list.discount_type eq 1}无{else}{$list.discount_num}折{/if}</td>
    <td>{$list.cost_money_t}</td>
    <td>{$list.cost_shop_after_money}</td>
  </tr>
  {/foreach}
  <tr>
    <th align="right" colspan="10">{$pageStr}</th>
  </tr>
</table>
</div>
